﻿@using VirtualPress.Infrastructure.Entities.Entity;
@using VirtualPress.Tool.Configration;
@using VirtualPress.Tool.Framework;
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="/content/css/bootstrap.css" rel="stylesheet" />
    <link href="/content/css/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="/content/css/docs.css" rel="stylesheet" />
    <link href="/content/css/conference.css" rel="stylesheet" />
    @RenderSection("head", false)
</head>
@{
    Meeting meeting = ViewBag.Meeting;
    }
<body data-spy="scroll" data-target=".bs-docs-sidebar">
    <div class="header">
        <div class="container">
            <!-- logo -->
            <a href="/"><img src="@meeting.Logo" style="width:300px;height:90px;" alt="logo" /></a>
            <!-- submit -->
            <div class="pull-right submit">
                <ul class="nav nav-pills" style="padding: 0; margin: 0">
                @if (meeting.ArticleEndDate > DateTime.Now)
                {
                    <li><a href="http://@SiteResource.Domain/workspace/member/articlesubmit?Meeting=@meeting.Id"><i class="icon-chevron-right icon-white"></i>投稿</a> </li>
                }
                </ul>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="span3 border-right">
                <div class="pull-right">
                    <div class="menu">
                        <a id="likhome" href="/home">首页</a> 
                        <a id="likabout" href="/about">关于会议</a>
                        <a id="likcommittee" href="/committee">组委会</a> 
                        <a id="likcallforpapers" href="/callforpapers">征稿启事</a> 
                        <a id="likattention" href="/attention">作者须知</a> 
                        <a id="likschedule" href="/schedule">日程安排</a>
                        @if (!String.IsNullOrEmpty(meeting.Travel.NoHTMLLabel()))
                        { 
                            <a id="liktravel" href="/travel">会后旅游</a>  
                        }
                        @if (!String.IsNullOrEmpty(meeting.Catalog.NoHTMLLabel()))
                        { 
                            <a id="likcatalog" href="/catalog">会议集</a>
                        }
                        <a id="liknews" href="/news">会议动态 </a>
                        <a id="likaboutus" href="aboutus">联系我们 </a>
                    </div>
                </div>
            </div>
            <div class="span9">
                @RenderBody()
            </div>
        </div>
    </div>
    <!-- main menu -->
    <!-- footer -->
    <footer class="footer">
      <div class="container">
        <p>Copyright &copy @SiteResource.SiteName</p>
        <p>@SiteResource.CompanyAddress 401331 TEL:@SiteResource.CompanyPhone Email:service@csaep.org </p>
        <p>Copyright &copy <a href="http://@SiteResource.Domain">@SiteResource.Domain</a> @DateTime.Now.ToString("yyyy")</p>
      </div>
    </footer>
</body>
<script type="text/javascript" src="/Scripts/jquery.js"></script>
<script type="text/javascript" src="/Scripts/bootstrap.min.js"></script>
@RenderSection("tail", false)
</html>
